/**
 * Copyright(c) ${copyrightYear} ${company}
 * All rights reserved.
 * Created on ${date}
 */
package ${package}.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import ${package}.BaseEntity;

/**
 * 属性
 * 
 * @author ${author}
 * 
 */
@Entity
@Table(name = "tb_prop")
public class PropertyEntity extends BaseEntity<Long> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 537597380379009832L;
	/**
	 * ID
	 */
	@Id
	@Column(name = "ID_")
	private Long id;
    /**
     * 键
     */
    @Column(name = "KEY_", nullable = false, unique = true)
    private String key;
    /**
     * 值
     */
    @Column(name = "VAL_", nullable = false)
    private String value;

    /**
     * 默认值
     */
    @Column(name = "DFT_VAL_")
    private String defaultValue;

    /**
     * 描述
     */
    @Column(name = "DESC_")
    private String desc;

    /**
     * 获取默认值
     * @return
     */
    public String getDefaultValue() {
        return defaultValue;
    }

    /**
     * 设置默认值
     * @param defaultValue
     */
    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    /**
     * 获取键
     * @return
     */
    public String getKey() {
        return key;
    }

    /**
     * 设置键
     * @param key
     */
    public void setKey(String key) {
        this.key = key;
    }

    /**
     * 获取值
     * @return
     */
    public String getValue() {
        return value;
    }

    /**
     * 设置值
     * @param value
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * 获取描述
     * @return
     */
    public String getDesc() {
        return desc;
    }

    /**
     * 设置描述
     * @param desc
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }
	/**
	 * 获取ID
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置ID
	 * 
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

}
